<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>客户添加</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="/static/css/bootstrap.css" />
</head>
<body>
<div class="container-fluid">



    <div th:replace="admin/header::html"></div>

    <th:if test="${!empty msg }">
        <div class="alert alert-danger">[[${msg }]]</div>
    </th:if>

    <br><br>
    <form class="form-horizontal" th:action="@{/go/addUser}" method="post">


        <div class="form-group">
            <label for="input_name" class="col-sm-1 control-label">用户名</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_name" name="username" required="required" />
            </div>
        </div>

        <div class="form-group">
            <label for="input_name" class="col-sm-1 control-label">密码</label>
            <div class="col-sm-6">
                <input type="password" class="form-control" id="input_name" name="password" required="required"/>
            </div>
        </div>

        <div class="form-group">
            <label for="input_name" class="col-sm-1 control-label">电话</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_name" name="phone" required="required"/>
            </div>
        </div>

        <div class="form-group">
            <label for="input_name" class="col-sm-1 control-label">邮箱</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_name" name="email" />
            </div>
        </div>

        <div class="form-group">
            <label for="input_name" class="col-sm-1 control-label">性别</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_name" name="gender" />
            </div>
        </div>



        <div class="form-group">
            <div class="col-sm-offset-1 col-sm-10">
                <button type="submit" class="btn btn-success">提交保存</button>
            </div>
        </div>
    </form>

    <span style="color:red;"></span>
</div>
</body>
</html>
